package filters;

import java.io.File;

public class WritableFilter extends PermissionFilter {

	public WritableFilter(boolean permission) {
		super(permission);
	}

	public boolean accept(File f) {
		return (f.canWrite() == _permission);
	}

}
